.sw-condition-or-container {
    padding: var(--scale-size-24);

    &.container-condition-level__is--even {
        background-color: var(--color-elevation-surface-default);
        border: 1px solid var(--color-border-primary-default);
        border-radius: var(--border-radius-card);

        &.is--disabled {
            background-color: var(--color-background-tertiary-default);
        }
    }

    &.container-condition-level__is--odd {
        background-color: var(--color-elevation-surface-sunken);
        border: 1px solid var(--color-border-primary-default);
        border-radius: var(--border-radius-card);

        &.is--disabled {
            background-color: var(--color-background-tertiary-default);
        }
    }

    .condition-content__spacer--or {
        padding: var(--scale-size-8) 0;
        margin-left: 0;
        font-size: var(--font-size-xs);
        font-weight: var(--font-weight-semibold);
        text-transform: uppercase;
        display: inline-block;
        position: relative;
        width: 100%;

        &::before {
            content: "";
            position: absolute;
            top: 50%;
            width: calc(100% - var(--scale-size-40));
            margin-left: var(--scale-size-48);
        }
    }

    .sw-condition-or-container__actions {
        display: flex;
        margin-top: var(--scale-size-16);

        .sw-condition-or-container__actions--or {
            margin-right: var(--scale-size-8);
        }

        .sw-condition-or-container__actions--delete {
            float: right;
        }

        :last-child {
            margin-left: auto;
        }
    }
}
